<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
    <title>用户列表</title>
    <script src="${pageContext.request.contextPath}/resources/js/jquery-1.7.2.js"></script>
</head>
<body>
    <div id="test"></div>
    <table>
        <thead>
            <th>用户名</th>
            <th>姓名</th>
        </thead>
        <tbody>
            <c:forEach items="${list}" var="item">
                <tr>
                    <td>${item.username}</td>
                    <td>${item.nickname}</td>
                </tr>
            </c:forEach>
        </tbody>
    </table>
    <script>
        $("#test").html("测试")

    </script>
</body>
</html>
